package com.ecar.api.pay.wx;

public class TestURL {

	 /**     
     * 方法名：main</br>
     * 详述：生成URL编码 </br>
     * 开发人员：souvc </br>
     * 创建时间：2016-1-4  </br>
     * @param args 说明返回值含义
     * @throws 说明发生此异常的条件
     */
    public static void main(String[] args) {
    	//:80/ecar/r/car/cartype
        String source="http://ts.chukeyunxing.com/ecar/r/oaut/oautinfo";
        System.out.println(CommonUtil.urlEncodeUTF8(source));
    }
}

//https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxa75c865f6db7e11a&redirect_uri=http%3A%2F%2Fts.chukeyunxing.com%3A80%2Fecar%2Fr%2Fcar%2Fcartype&response_type=code&scope=snsapi_base&state=123#wechat_redirect